package hbec.kettle.etl.plugins.core;

public class Edge<V> {
	private V begin;
	private V end;
	private double weight;
	
	public Edge (V begin, V end, double weight) {
		this.begin = begin;
		this.end = end;
		this.weight = weight;
	}

	public V getBegin() {
		return begin;
	}

	public void setBegin(V begin) {
		this.begin = begin;
	}

	public V getEnd() {
		return end;
	}

	public void setEnd(V end) {
		this.end = end;
	}

	public double getWeight() {
		return weight;
	}

	public void setWeight(double weight) {
		this.weight = weight;
	}
}
